package com.example.qxfw.qxybzz.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.example.qxfw.qxybzz.entity.constantVo;
import com.example.qxfw.qxybzz.entity.constantfcst;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
@DS("master")
public interface ServiceMaterialsMapper {
    List<constantVo> getHistory(@Param("type") int type, @Param("month") String month, @Param("td") String td);

    int insertConstantResult(constantfcst fcst);

    List<constantfcst> selectConstantResult(@Param("date") Date date, @Param("layername") String layername);

    int updateConstantResult(constantfcst fcst);
}
